package com.factory.ssm.mapper;

import java.util.List;

import com.factory.ssm.beans.Factory;
import com.factory.ssm.beans.Pharmaceutical;

public interface PharmaceuticalMapper {

	List<Pharmaceutical> getpharmaceuticalByFactoryId(String factoryId);

	void insert(Pharmaceutical pharmaceutical);

	void deleteById(Integer id);

	Pharmaceutical getPharmaceuticalById(Integer id);

	void updatePharmaceuticalById(Pharmaceutical pharmaceutical);


	void deleteByFactoryId(String id);

	void updatePharmaceuticalByFactoryId(Factory factory);

}
